﻿using System;
using System.Diagnostics;

namespace 进程
{
	class Program
	{
		static void Main(string[] args)
		{
			//获得当前程序中所有正在运行的进程
			Process[] pros= Process.GetProcesses();
			foreach (var item in pros)
			{
				//item.Kill();
				Console.WriteLine(item);
			}
			
			Process.Start("calc");
			
			
		}
	}
}
